package com.pojo;

import java.io.Serializable;

public class Orderdetail implements Serializable {

    private Integer dId;    //订单明细编号
    private Orders orders;    //用户订单编号
    private Course course;    //课程编号

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public Orders getOrders() {
        return orders;
    }

    public void setOrders(Orders orders) {
        this.orders = orders;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public Orderdetail(Integer dId, Orders orders, Course course) {
        this.dId = dId;
        this.orders = orders;
        this.course = course;
    }

    public Orderdetail() {
    }

    @Override
    public String toString() {
        return "Orderdetail{" +
                "dId=" + dId +
                ", orders=" + orders +
                ", course=" + course +
                '}';
    }
}
